<%@ taglib prefix="authz" uri="http://acegisecurity.org/authz" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ page import="com.jkt.rms.commons.includes.*, javax.servlet.http.*"%>
<html>
<head>
<LINK REL="StyleSheet" HREF="<%= PathDefinations.cssPath %>hometab.css" TYPE="text/css">
<!-- link REL="StyleSheet" HREF="<%= PathDefinations.cssPath %>basic_homepage_style.css" type="text/css" -->
<script language="javascript" src="<%= PathDefinations.jsPath %>hometab.js"></script>
<script language="javascript" src="<%= PathDefinations.jsPath %>common.js"></script>
</head>
<body>
	<table border="0" style="width:100%">
  		<tr>
  			<td>
  			    <img src="<%=PathDefinations.imagePath%>mriprjLogo.png" alt="RMS" >
   				<!-- img src="<%=PathDefinations.imagePath%>time.JPG" alt="RMS"  -->
    		</td>
    		<td align="right">
    		  	<authz:authorize ifAnyGranted="ROLE_CODESUPPORT" > 
					<a  href="<c:url value="/j_acegi_logout"/>"><font color="blue">Logout</font></a>
				</authz:authorize>
    		</td>
  		</tr>
	</table>
	<div id="mainMenu">
		<a>Vendor  		<img  src="<%=PathDefinations.imagePath%>tabmenu_right.gif"></a>
		<a>Project 		<img  src="<%=PathDefinations.imagePath%>tabmenu_right.gif"></a>
		<a>Resource Role 	<img  src="<%=PathDefinations.imagePath%>tabmenu_right.gif"></a>
		<a>Rate     	<img  src="<%=PathDefinations.imagePath%>tabmenu_right.gif"></a>
		<a>Resource 	<img  src="<%=PathDefinations.imagePath%>tabmenu_right.gif"></a>
		<a>Reports 	    <img  src="<%=PathDefinations.imagePath%>tabmenu_right.gif"></a>
		
		<authz:authorize ifAnyGranted="ROLE_CODESUPPORT" >
			<a>My Page	<img  src="<%=PathDefinations.imagePath%>tabmenu_right.gif"></a>
			<a>Admin	<img  src="<%=PathDefinations.imagePath%>tabmenu_right.gif"></a> 
 	    </authz:authorize>
 
	</div>
	<div id ="submenu">
		<!-- The Vendor sub menu -->
		<div id="submenu_1">
			<a href="vendorlist.htm?method=loadVendor">Add/Search</a> 
		</div>
		<!-- Second sub menu -->
		<div id="submenu_2">
			<a href="project.htm?method=addSearchProjectUI">Add/Search</a>
		</div>
		
		<!-- The Resource Role sub menu -->
		<div id="submenu_3">
			<a href="resourcerole.htm?method=loadResourceRole">Add/Search</a>
		</div>
		<!-- Fourth sub menu -->
		<div id="submenu_4">
			<a href="searchAddRate.htm?method=loadRate">Add/Search</a>
		</div>
		<!-- Fifth sub menu -->
		<div id="submenu_5">
			<a href="resource.htm?method=showUI">Add/Search</a>
			<a href="batch.htm">Batch Uploader</a> 
		</div>
		<!-- Sixth sub menu -->
		<div id="submenu_6">
			<a href="report1.htm">Report 1</a>
			<a href="report2.htm">Report 2</a> 
			<a href="report3.htm">Report 3</a>
			<a href="report4.htm">Report 4</a>
		</div>
		<!-- 7th sub menu -->
		<authz:authorize ifAnyGranted="ROLE_CODESUPPORT">
			<div id="submenu_7">
				<a href="changepassword.htm">Update Password</a>
				<a href="template.htm">Developer Template</a> 
			</div>
		</authz:authorize>
		<!-- 8th sub menu -->
		<authz:authorize ifAnyGranted="ROLE_CODESUPPORT">
			<div id="submenu_8">
				<a href="adduser.htm?method=loadUser">Add/Search User</a>
				<a href="sysrole.htm">Add/Search Role</a>
				<a href="sysrolelinkup.htm">Role Linkup</a>
			</div>
		</authz:authorize>
	</div>
</body>
</html>